<script>
import KtTable from "/src/components/node-kantboot/components/KtTable/KtTable.vue";
import columns from "./config/columns.config.js"
import I18nEditDialog from "./components/I18nEditDialog.vue";

export default {
  components: {I18nEditDialog, KtTable},
  data() {
    return {
      columns
    }
  },
  mounted() {
  },
  methods: {
    toI18nEdit(row) {
      this.$refs.i18nEditDialog.open(row);
    }
  }
}
</script>

<template>
  <i18n-edit-dialog
  ref="i18nEditDialog"
  ></i18n-edit-dialog>
  <kt-table
      :columns="columns"
      requestUri="/business-shop-web/admin/shopGoodsAttr"
      ref="ktTable">
    <template #operationAppend="{row}">
      <el-button type="primary" @click="toI18nEdit(row)">国际化管理</el-button>
    </template>
  </kt-table>
</template>

<style scoped>

</style>